package com.gezi.admin.module.code.gentable.column.model;

/**
 * @Author 格子代码
 * @createDate 2024/2/10 09:00
 * @contact 1424529270@qq.com
 */
public enum CodeTmplEnum {

    SUCCESS("成功"),
    FAIL("失败"),
    WAIT("待处理");

    private String remark;
    CodeTmplEnum(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    /**
     * 是否相同
     * @param name
     * @return
     */
    public boolean isSame(String name){
        return name().equals(name);
    }
}
